package org.firefly.db.meta;

public class FK implements IConstraint {
	private String name;//约束名
	private String pkName;//主键约束名
	private String pkTableName;
	private String pkTableColumn;
	private String fkTableName;
	private String fkTableColumn;
	private String deleteRule;//主键表删除时外键表发生的变化
	
	@Override
	public String getName() {
		return this.name;
	}

	public String getPkTableName() {
		return pkTableName;
	}

	public void setPkTableName(String pkTableName) {
		this.pkTableName = pkTableName;
	}

	public String getPkTableColumn() {
		return pkTableColumn;
	}

	public void setPkTableColumn(String pkTableColumn) {
		this.pkTableColumn = pkTableColumn;
	}

	public String getFkTableName() {
		return fkTableName;
	}

	public void setFkTableName(String fkTableName) {
		this.fkTableName = fkTableName;
	}

	public String getFkTableColumn() {
		return fkTableColumn;
	}

	public void setFkTableColumn(String fkTableColumn) {
		this.fkTableColumn = fkTableColumn;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPkName() {
		return pkName;
	}

	public void setPkName(String pkName) {
		this.pkName = pkName;
	}

	public String getDeleteRule() {
		return deleteRule;
	}

	public void setDeleteRule(String deleteRule) {
		this.deleteRule = deleteRule;
	}


}
